package com.kuwou.workobject.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.transaction.annotation.Transactional;

import java.beans.Transient;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "singer_list")
public class SingerList {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("singer_web_id")
    private Integer singerWebId;

    @TableField("name")
    private String singerName;


    public SingerList(Integer singerWebId, String singerName) {
        this.singerWebId = singerWebId;
        this.singerName = singerName;
    }
}
